#include<iostream>

using namespace std;

int main()
{
	int a;
	cin >> a;

	int res = 1;
	while (a != 1)
	{
		res++;
		a /= 2;
	}

	cout << res;
	return 0;
}